package com.shop.exception;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author : WanS
 * @date : 20:18 2020/11/30
 * 异常后返回给前端的封装类
 */
@Setter
@Getter
@ToString
public class CodeMsg implements Serializable {
    private int code;  //状态码
    private String msg;  //异常信息或成功信息

}
